package com.gmscosmo.sdk;

import com.alibaba.fastjson.JSONObject;
import com.gmscosmo.common.APIPath;
import com.gmscosmo.common.IMResult;

/**
 * @author stephen.qiu
 */
public class MessageAdmin {
    public static IMResult<String> toJanus(JSONObject jsonObject) throws Exception {
        String path = APIPath.ToJanus;
        return JanusHttpUtils.httpJsonPost(path, jsonObject, String.class);
    }
}
